<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "https://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans>

	<bean class="org.springframework.scripting.support.ScriptFactoryPostProcessor"/>

	<bean id="messenger" class="org.springframework.scripting.groovy.GroovyScriptFactory">
		<constructor-arg>
			<!-- 'inline:' prefix is preceded by whitespace... -->
			<value>
    inline:
			
	class Bingo {

		@Property String message;
	}
			</value>
		</constructor-arg>
		<property name="message" value="Hello World!"/>
	</bean>

</beans>
